﻿using ReflectionStudio.Core.Events;
using System;
using System.Data;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Diagnostics;
using System.ComponentModel;
using WPFExcelReport.Helpers;
using System.Windows.Input;
namespace WPFExcelReport
{
    public partial class TBD02
    {
        public TBD02()
        {
            if (DesignerProperties.GetIsInDesignMode(this))
                return;
            MV = new VBAAUF();
            this.DataContext = MV;
            InitializeComponent();
        }

        public override void OnEXAUFChg(string vlaue)
        {
            TBMain.Clear();
            if (EXAUF.Length < 11)
                return;
            PM["KRS"] = EXAUF.Substring(0, 2);
            PM["LFD"] = EXAUF.Substring(2, 6);
            PM["POS"] = EXAUF.Substring(8, 3);
            TMV.LOADBD733(PM);
            vwMaster.View.MoveCurrentToFirst();
            base.OnEXAUFChg(vlaue);
        }

    }
}
